#ifndef SR501_H
#define SR501_H

/* Includes ------------------------------------------------------------------*/
#include "stm32f10x.h"
#include "print.h"

/* Exported types ------------------------------------------------------------*/
/* Exported constants --------------------------------------------------------*/  
#define SR501_OUT_PIN			GPIO_Pin_4
#define SR501_OUT_PORT			GPIOB
#define SR501_OUT_CLK			RCC_APB2Periph_GPIOB

/* Exported macro ------------------------------------------------------------*/
/* Exported variables ---------------------------------------------------------*/
/* Exported functions ------------------------------------------------------- */
void sr501_init(void);

#endif

